<script>
export default {
  name: "Home",
  mounted() {
    //将数据写入到本地
    localStorage.setItem('name','test001')
  }
}
</script>

<template>
  <h3>这是首页</h3>
</template>

<style scoped>

</style>